<table width="100%" border="0" cellpadding="0" cellspacing="0" background="/images/mainpage-sliced_16.jpg">
  <tr>
    <td width="20" height="40">&nbsp;</td>
    <td class="style5" style="border-right:solid 1px #FFFFFF;">View Resource Cost</td>
  </tr>
</table>

<table>
  <thead>
    <tr class= "style2" background="/images/mainpage-sliced_11.jpg">
      <th>Name</th>
      <th>Cost/Hour</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($resources as $i => $resource): ?>
    <tr class="regulartext_<?php echo fmod($i, 2) ? 'even' : 'odd' ?>">
      <td align="left"><?php echo $resource->getName() ?></td>
      <td align="center"><?php echo $resource->getRate() ?></td>
    </tr>
    <?php endforeach; ?>    
  </tbody>
</table>
